package com.wsj.a.collapsingdemo.callback;

import android.databinding.DataBindingUtil;
import android.view.LayoutInflater;
import android.view.View;

import com.wsj.a.collapsingdemo.R;
import com.wsj.a.collapsingdemo.databinding.IncludeLayoutLoadingBinding;
import com.wsj.library.loadsir.callback.Callback;

/**
 * Description:TODO
 * Create Time:2017/9/4 10:22
 * Author:KingJA
 * Email:kingjavip@gmail.com
 */

public class  LoadingCallback extends Callback {

    @Override
    protected View onCreateView() {
        IncludeLayoutLoadingBinding binding= DataBindingUtil.inflate(LayoutInflater.from(context), R.layout.include_layout_loading,null,false);
        return binding.getRoot();
    }
}
